#include <string>
#include <iostream>
#include "Scaner.h"
using namespace std;

int main(int argc, char** argv) {
    Scaner sk("in","out");
    string* res;
    int token;
    while(res = sk.getLexeme(token))
        cout << token << " - " << (*res) << endl;
    return 0;
}

